package com.tansuo365.test1.service.kucunservice.kucunimpl;

import com.tansuo365.test1.bean.kucunbean.TuikuDetails;
import com.tansuo365.test1.mapper.kucunmapper.TuikuDetailsMapper;
import com.tansuo365.test1.service.kucunservice.TuikuDetailsService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class TuikuDetailsServiceImpl implements TuikuDetailsService {

    @Resource
    private TuikuDetailsMapper tuikuDetailsMapper;

    @Override
    public List<TuikuDetails> listTuikuDetailsByZongId(Integer zongzhangid) {
        return tuikuDetailsMapper.listTuikuDetailsByZongId(zongzhangid);
    }

    @Override
    public List<TuikuDetails> listTuikuDetailsSelective(TuikuDetails tuikuDetails) {
        return tuikuDetailsMapper.listTuikuDetailsSelective(tuikuDetails);
    }

    @Override
    public List<String> listDuiyingChukuDan(Integer[] ids) {
        return tuikuDetailsMapper.listDuiyingChukuDan(ids);
    }

    @Override
    public int deleteByPrimaryKey(Integer id) {
        return tuikuDetailsMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int deleteByZongId(Integer zongzhangid) {
        return tuikuDetailsMapper.deleteByZongId(zongzhangid);
    }

    @Override
    public int deleteByZongIdArr(Integer[] ids) {
        return tuikuDetailsMapper.deleteByZongIdArr(ids);
    }

    @Override
    public int insertSelective(TuikuDetails tuikuDetails) {
        return tuikuDetailsMapper.insertSelective(tuikuDetails);
    }

    @Override
    public TuikuDetails selectByPrimaryKey(Integer id) {
        return tuikuDetailsMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(TuikuDetails tuikuDetails) {
        return tuikuDetailsMapper.updateByPrimaryKeySelective(tuikuDetails);
    }

    @Override
    public List<TuikuDetails> listByDuiyingChukudans(List<String> chukudans) {
        return tuikuDetailsMapper.listByDuiyingChukudans(chukudans);
    }


}
